﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace LTWF.Chuong_2.TestOpacity
{
    public partial class frmOpacity : Form
    {
        public frmOpacity()
        {
            InitializeComponent();
        }

        private void hsbValue_ValueChanged(object sender, EventArgs e)
        {
            txtVaue.Text = hsbValue.Value+"";
            this.Opacity = hsbValue.Value*1.0/100+0.1;
        }        
    }
}
